/************************* 版权声明 *********************************
 * 
 * 版权所有：meymey
 * 
 ************************* 版本声明 *********************************
 *@since jdk1.5
 *@version 0.6
 ************************* 变更记录 *********************************
 *
 * 创建者：biqiang Email:biqiang@winmess.com   创建日期：2010-8-30
 * 创建记录：创建类结构。
 *
 ************************* 类描述 *********************************×
 *
 ************************* To  Do *********************************
 *
 ************************* 随   笔 ***********************************
 *
 ******************************************************************
 */
package com.realgodo.site.entity.site;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.realgodo.site.entity.IdEntity;

@Entity
@Table(name = "event_joiner_record")
public class EventJoinerRecord extends IdEntity {

	private static final long serialVersionUID = 2993909823038005014L;

	private Event event;

	@ManyToOne
	@JoinColumn(name = "event_id", referencedColumnName = "id", nullable = false)
	public Event getEvent() {
		return event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}

}
